<?php

namespace App\Console\Commands;

use App\Format\Format;
use App\Format\UserFormat;
use App\Services\ConstellationServices;
use App\Services\NovelService;
use Illuminate\Console\Command;

class DevCommand extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'dev:run';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Command description';

    protected $novelService;

    protected $constellationServices;
    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct(NovelService $novelService)
    {
        parent::__construct();
        $this->novelService = $novelService;
    }

    /**
     * Execute the console command.
     *
     * @return int
     */
    public function handle()
    {
        $this->novelService->setEssence([206, 205, 203, 200], '智慧冲冲冲');
        return 0;
    }
}
